<extend name="Layout/main" />
<block name="css"></block>
<block name="style"></block>
<block name="js"></block>
<block name="script"></block>
<block name="model">账户管理</block>
<block name="controller">管理员管理</block>
<block name="action">修改密码</block>
<block name="desc"></block>
<block name="content">
<div class="box box-danger">
	<div class="box-header with-border">
		<h3 class="box-title">修改密码</h3>
	</div>
	<notempty name="data">
	<form class="form-horizontal" action="{:U('password')}" method="post" rel-action="form">
	<div class="box-body">
		<div class="form-group">
			<label class="col-sm-2 control-label"><span class="text-red">*</span>用户名</label>
			<div class="col-sm-10">
				<input type="text" class="form-control" name="username" value="{$data.manager_username}" disabled placeholder="请输入用户名，注意：6-30位"  autocomplete="off">
			</div>
		</div>
		<div class="form-group">
			<label class="col-sm-2 control-label"><span class="text-red">*</span>新密码</label>
			<div class="col-sm-10">
				<input type="password" class="form-control" name="userpass" placeholder="请输入新密码"  autocomplete="off">
			</div>
		</div>
		<div class="form-group">
			<label class="col-sm-2 control-label"><span class="text-red">*</span>确认密码</label>
			<div class="col-sm-10">
				<input type="password" class="form-control" name="password" placeholder="请输入确认密码"  autocomplete="off">
			</div>
		</div>
	</div>
	<div class="box-footer">
		<div class="col-sm-offset-2 col-sm-10">
			<button type="submit" class="btn btn-default">保存</button>
		</div>
	</div>
	</form>
	</notempty>
	<empty name="data">
	<div class="box-body">
		<div class="alert alert-error alert-dismissible">
			<h4><i class="icon fa fa-warning"></i>暂无记录</h4>
			参数有误
		</div>
	</div>
	</empty>
</div>
</block>